import request from '@/utils/request'

export function loginVerifyCode() {
    return request({
        url: '/ywu/admin/user/login.verify.code',
        method: 'get',
        withCredentials: true
    })
}

export function loginUser(paramDataInfo) {
    return request({
        url: '/ywu/admin/user/login.user.info',
        method: 'post',
        data: paramDataInfo
    })
}

export function loginUserCheck(paramDataInfo) {
    return request({
        url: '/ywu/admin/user/login.user.info.before.check',
        method: 'post',
        data: paramDataInfo
    })
}